package org.su.generalmvc.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;

import java.io.File;

/**
 * 
 * @author yangchuan
 * @CreateTime 2010-8-18 下午02:40:17
 *
 */
@XStreamAlias("uploadConfig")
public class UploadConfig {
	/**
	 * 是否存为临时文件的临界值
	 */
	@XStreamOmitField
	private int sizeThreshold;
	/**
	 * 临时文件存放路径
	 */
	@XStreamOmitField
	private File repository;
	/**
	 * 上传文件的最大值
	 */
	@XStreamOmitField
	private long sizeMax;
	
	public int getSizeThreshold() {
		return sizeThreshold;
	}
	public File getRepository() {
		return repository;
	}
	public long getSizeMax() {
		return sizeMax;
	}
	
	
	
}
